package com.can.service.user;

import com.can.entityDTO.UserDTO;

/**
 * @Descripton 用户service层口访问接口
 * @Author can
 * @Date 2018/8/28
 * @Version 1.0
 */
public interface IUserService {
    /**
     * 添加用户
     * @param user
     * @return
     */
    int insert(UserDTO user);

    /**
     * 用户注册
     * @param userDTO
     * @return
     */
    int register(UserDTO userDTO);
}
